package com.fjeld.client.gui.screens;

import static com.fjeld.swingx.ColorConstants.SIDEBAR_DARK_LINE;
import com.fjeld.swingx.JBorderLayoutPanel;
import com.fjeld.swingx.JTransparentPanel;

import javax.swing.*;
import java.awt.*;

/**
 * Displays the Home screen.
 */
public class HomeView extends JBorderLayoutPanel
{

    public HomeView(String header)
    {
        JTransparentPanel panel = new JTransparentPanel();
        panel.setLayout(new GridLayout(0,2));

        this.add(panel, BorderLayout.CENTER);
        this.setBorder(BorderFactory.createEmptyBorder(40, 40, 40, 40));
        setBackground(SIDEBAR_DARK_LINE);
    }
}
